package org.example.car.system.service.impl;

import org.example.car.system.domain.SysDept;
import org.example.car.system.mapper.SysDeptMapper;
import org.example.car.system.service.SysDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Lin
 * @createDate 2024-06-25 14:40:13
 */
@Service
public class SysDeptServiceImpl implements SysDeptService {
    @Autowired
    SysDeptMapper sysDeptMapper;

    @Override
    public List<SysDept> list(SysDept sysDept) {
        return sysDeptMapper.list(sysDept);
    }

    @Override
    public void update(SysDept sysDept) {
        sysDeptMapper.update(sysDept);
    }

    @Override
    public void save(SysDept sysDept) {
        sysDeptMapper.save(sysDept);
    }
}
